
###############################################################################
#  PROJECT_ALL_DIR        - store all directories under the project
#                           used by the find<package>.cmake modules
#  PROJECT_ALL_LIB_DIR    - store all directories under the project
#                           which stores the built libraries
#

# - Try to find WrapperOpenSceneGraph
# Once done this will define following variables
#  
#  WRAPPEROPENSCENEGRAPH_FOUND        - system has WrapperOpenSceneGraph
#  WRAPPEROPENSCENEGRAPH_INCLUDE_DIRS - the WrapperOpenSceneGraph include directory
#  WRAPPEROPENSCENEGRAPH_LIBRARY_DIRS - the WrapperOpenSceneGraph library directory
#  WRAPPEROPENSCENEGRAPH_LIBRARIES    - Link these to use WrapperOpenSceneGraph
#

SET( WRAPPEROPENSCENEGRAPH_FOUND "YES" )
SET( WRAPPEROPENSCENEGRAPH_INCLUDE_DIRS ${PROJECT_ALL_DIR} )
SET( WRAPPEROPENSCENEGRAPH_LIBRARY_DIRS ${PROJECT_ALL_LIB_DIR} )
SET( WRAPPEROPENSCENEGRAPH_LIBRARIES WrapperOpenSceneGraph )

# verbose
IF( BUILD_VERBOSE )
    MESSAGE( STATUS 
        "----verbose: WRAPPEROPENSCENEGRAPH_INCLUDE_DIRS: 
        ${WRAPPEROPENSCENEGRAPH_INCLUDE_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: WRAPPEROPENSCENEGRAPH_LIBRARY_DIRS: 
        ${WRAPPEROPENSCENEGRAPH_LIBRARY_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: WRAPPEROPENSCENEGRAPH_LIBRARIES:
        ${WRAPPEROPENSCENEGRAPH_LIBRARIES}" )
ENDIF( BUILD_VERBOSE )

